package com.netease.update;

import android.os.Parcel;
import android.os.Parcelable;
import android.os.Parcelable.Creator;

public class ProgressInfo
  implements Parcelable
{
  public static final Parcelable.Creator CREATOR = new b();
  private long a;
  private String b;
  private int c;
  private int d = -1;

  public ProgressInfo(long paramLong, String paramString, int paramInt1, int paramInt2)
  {
    this.a = paramLong;
    this.b = paramString;
    this.c = paramInt1;
    this.d = paramInt2;
  }

  public ProgressInfo(Parcel paramParcel)
  {
    this.a = paramParcel.readLong();
    this.b = paramParcel.readString();
    this.c = paramParcel.readInt();
    this.d = paramParcel.readInt();
  }

  public void a(int paramInt)
  {
    this.c = paramInt;
  }

  public void a(long paramLong)
  {
    this.a = paramLong;
  }

  public void a(String paramString)
  {
    this.b = paramString;
  }

  public boolean a()
  {
    if (this.c == this.d);
    for (int i = 1; ; i = 0)
      return i;
  }

  public int b()
  {
    return this.c;
  }

  public void b(int paramInt)
  {
    this.d = paramInt;
  }

  public int c()
  {
    return this.d;
  }

  public String d()
  {
    if (this.d <= 0);
    StringBuilder localStringBuilder;
    for (String str = ""; ; str = localStringBuilder.toString())
    {
      return str;
      long l = 100 * this.c / this.d;
      localStringBuilder = new StringBuilder();
      localStringBuilder.append(l);
      localStringBuilder.append('%');
    }
  }

  public int describeContents()
  {
    return 0;
  }

  public long e()
  {
    return this.a;
  }

  public String f()
  {
    return this.b;
  }

  public void writeToParcel(Parcel paramParcel, int paramInt)
  {
    paramParcel.writeLong(this.a);
    paramParcel.writeString(this.b);
    paramParcel.writeInt(this.c);
    paramParcel.writeInt(this.d);
  }
}

/* Location:           D:\android\hack\dex2jar-0.0.9.8\classes_dex2jar.jar
 * Qualified Name:     com.netease.update.ProgressInfo
 * JD-Core Version:    0.6.0
 */